package org.itboys.mobile.dao.wallet;

import org.itboys.mobile.dto.report.SundayReportWalletDto;
import org.itboys.mobile.entity.mysql.wallet.SundayWalletRecord;
import org.itboys.mysql.dao.BaseMySqlMapper;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * Created by zhangyang on 2017/12/19.
 * 圣代_钱包记录_dao
 */
public interface SundayWalletRecordMapper extends BaseMySqlMapper<SundayWalletRecord> {

    /**
     * 统计总金额
     * @param param
     * @return
     */
    public BigDecimal countAmount(Map<String, Object> param);

    /**
     * 报表
     * @param param
     * @return
     */
    public List<SundayReportWalletDto> report(Map<String, Object> param);
    public long report_count(Map<String, Object> param);
}
